package vip.xiaonuo.sys.fymodule.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 平安分账订单分账明细
 * </p>
 *
 * @author wangy
 * @since 2025-06-19
 */
@Data
@TableName("sxo_safety_sep_acc_detail")
@Schema(name = "SxoSafetySepAccDetail对象", description = "平安分账订单分账明细")
public class SxoSafetySepAccDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "分账id")
    @TableField("sep_acc_id")
    private String sepAccId;

    @Schema(description = "分账子单号")
    @TableField("sub_acct_order_no")
    private String subAcctOrderNo;

    @Schema(description = "分账转入子账户")
    @TableField("in_sub_acct_no")
    private String inSubAcctNo;

    @Schema(description = "分账金额")
    @TableField("sub_acct_amt")
    private String subAcctAmt;

    @Schema(description = "分账订单描述")
    @TableField("sub_acct_order_desc")
    private String subAcctOrderDesc;

    @Schema(description = "分账备注")
    @TableField("sub_acct_remark")
    private String subAcctRemark;

    @Schema(description = "分账撤销状态（0：未撤销;1：撤销成功）")
    @TableField("sep_revoke_status")
    private Integer sepRevokeStatus;

    @Schema(description = "撤销分账时间")
    @TableField("sep_revoke_time")
    private String sepRevokeTime;

    @Schema(description = "撤销交易流水号")
    @TableField("cnsmr_seq_no")
    private String cnsmrSeqNo;

    @Schema(description = "电商见证宝系统生成的流水号")
    @TableField("jzb_accept_seq_no")
    private String jzbAcceptSeqNo;

    @Schema(description = "错误信息")
    @TableField("error_msg")
    private String errorMsg;
}
